package com.adams.dcxt.service;

import com.adams.dcxt.bean.Dishes;
import com.adams.dcxt.core.Page;

public interface DishesService {
    /**
     * 按菜单类型分页查询菜单
     * 
     * @param page
     * @param typeId
     * @return
     */
    public Page<Dishes> queryByType(Page<Dishes> page, Long typeId);

    /**
     * 查询推荐
     * 
     * @param page
     * @return
     */
    public Page<Dishes> queryRecommend(Page<Dishes> page);

    /**
     * 查询特价
     * 
     * @param page
     * @return
     */
    public Page<Dishes> querySpecialRate(Page<Dishes> page);

    /**
     * 查询口碑
     * 
     * @param page
     * @return
     */
    public Page<Dishes> queryTop(Page<Dishes> page);

    /**
     * 按菜名查询
     * 
     * @param page
     * @return
     */
    public Page<Dishes> queryByDishesName(Page<Dishes> page ,String name);

    /**
     * 按原料查询
     * 
     * @param page
     * @return
     */
    public Page<Dishes> queryByDishesIngredients(Page<Dishes> page ,String ingredients);

    
    public  Dishes get(Long id);
}
